package com.example.demo.设计模式.工厂模式;

public class FactoryA implements Factory{
    @Override
    public Product1 getProduct1() {
        return new Product1A();
    }

    @Override
    public Product2 getProduct2() {
        return new Product2A();
    }
}
